@echo OFF

set LEFT=%6
set RIGHT=%7

set LEFT_TITLE=%3
set RIGHT_TITLE=%5

IF EXIST "C:\Program Files\Araxis\Araxis Merge 2001 v6.0 Professional\compare.exe" set PROGRAM="C:\Program Files\Araxis\Araxis Merge 2001 v6.0 Professional\compare.exe"
IF EXIST "C:\Program Files\Araxis\Araxis Merge 2001 Professional\compare.exe" set PROGRAM="C:\Program Files\Araxis\Araxis Merge 2001 Professional\compare.exe"

%PROGRAM% /max /title1:%LEFT_TITLE% /title2:%RIGHT_TITLE%  %LEFT% %RIGHT%
